//
//  CourseModel.m
//  TeacherNet
//
//  Created by slz on 2017/11/8.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "CourseModel.h"

@implementation CourseModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"studentCount" : @"studentNum",
             @"courseImage" : @"img",
             @"courseTeacher" : @"userName",
             @"courseTeacherTitle" : @"titles",
             @"courseName" : @"title",
             @"coursePrice":@"price",
             @"courseId":@"id"
             };
}

@end

@implementation CourseTypeModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"courseTypeId" : @"id",
             @"courseTypeTitle" : @"classify_name"
             };
}
@end
